#ifndef __ASM_I386_PROCESSOR_H
#define __ASM_I386_PROCESSOR_H
#include <linux/thread.h>
#define load_cr3(pgdir) \
	asm volatile("movl %0,%%cr3": :"r" (__pa(pgdir)));
extern void update_tss_esp(struct task_struct* pthread);
extern void tss_init(void);
#endif
